package com.example.administrator.commonlibrary.networkframework.consumer;

import android.annotation.SuppressLint;
import android.os.Build;
import android.support.annotation.RequiresApi;

import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.Vector;
import java.util.function.Consumer;

import io.reactivex.functions.Action;

/**
 * 作者：wang_hong_wei
 * 创建时间：2019/3/18
 * 描述：
 */

public class MyAction implements Action {

    private static MyAction myAction;

    @Override
    public void run() throws Exception {

    }

    public  static MyAction getInstance(){
        if (myAction ==null){
            synchronized (MyAction.class){
                if (myAction == null){
                    myAction = new MyAction();
                }
            }
        }
        return myAction;
    }
}
